An FPTAS for the Knapsack Problem with Parametric Weights

نویسندگان

  • Michael Holzhauser
  • Sven Oliver Krumke
چکیده

In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the formwi(λ) = ai + λ ·bi for i ∈ {1, . . . ,n} depending on a real-valued parameter λ. The aim is to provide a solution for all values of the parameter. It is well-known that any exact algorithm for the problem may need to output an exponential number of knapsack solutions. We present the first fully polynomial-time approximation scheme (FPTAS) for the problem that, for any desired precision ε ∈ (0, 1), computes (1− ε)approximate solutions for all values of the parameter. Our FPTAS is based on two different approaches and achieves a running time of O(n/ε ·min{log P,n} ·min{logM,n log(n/ε)/ log(n log(n/ε))})where P is an upper bound on the optimal profit and M := max{W,n ·max{ai,bi : i ∈ {1, . . . ,n}}} for a knapsack with capacity W.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An FPTAS for the parametric knapsack problem

In this paper, we investigate the parametric knapsack problem, in which the item profits are affine functions depending on a real-valued parameter. The aim is to provide a solution for all values of the parameter. It is well-known that any exact algorithm for the problemmay need to output an exponential number of knapsack solutions. We present a fully polynomial-time approximation scheme (FPTAS...

متن کامل

Integer knapsack problems with set-up weights

The Integer Knapsack Problem with Set-up Weights (IKPSW) is a generalization of the classical Integer Knapsack Problem (IKP), where each item type has a set-up weight that is added to the knapsack if any copies of the item type are in the knapsack solution. The k-item IKPSW (kIKPSW) is also considered, where a cardinality constraint imposes a value k on the total number of items in the knapsack...

متن کامل

A Faster FPTAS for #Knapsack

Given a set W = {w1, . . . , wn} of non-negative integer weights and an integer C, the #Knapsack problem asks to count the number of distinct subsets of W whose total weight is at most C. In the more general integer version of the problem, the subsets are multisets. That is, we are also given a set {u1, . . . , un} and we are allowed to take up to ui items of weight wi. We present a determinist...

متن کامل

Approximation Algorithms for Knapsack Problems with Cardinality Constraintsy

We address a variant of the classical knapsack problem in which an upper bound is imposed on the number of items that can be selected. This problem arises in the solution of real-life cutting stock problems by column generation, and may be used to separate cover inequalities with small support within cutting plane approaches to integer linear programs. We focus our attention on approximation al...

متن کامل

A Faster FPTAS for the Unbounded Knapsack Problem

The Unbounded Knapsack Problem (UKP) is a well-known variant of the famous 0-1 Knapsack Problem (0-1 KP). In contrast to 0-1 KP, an arbitrary number of copies of every item can be taken in UKP. Since UKP is NP-hard, fully polynomial time approximation schemes (FPTAS) are of great interest. Such algorithms find a solution arbitrarily close to the optimum OPT(I), i.e. of value at least (1− ε)OPT(...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1703.06048  شماره 

صفحات  -

تاریخ انتشار 2017